package com.zh.domain.vo.requirement;

import com.zh.domain.entity.Requirements;
import com.zh.domain.vo.task.TaskVo;
import com.zh.domain.vo.user.UserVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

@ApiModel(value = "RequirementVo", description = "需求视图对象")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class RequirementVo extends Requirements implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty("创建人")
    private UserVO creator;
    @ApiModelProperty("更新人")
    private UserVO updater;
    @ApiModelProperty("需求负责人")
    private UserVO owner;
    @ApiModelProperty("任务列表")
    private List<TaskVo> taskVoList;
    @ApiModelProperty("附件数量")
    private Integer attachCount;
}
